package cn.finder.httpcommons.domain;

import cn.finder.httpcommons.ApiObject;

/***
 * 
 * @author dragon
 * 响应消息
 */
public class Message extends ApiObject
{
    /// <summary>
    /// 状态码-成功
    /// </summary>
    public  final static   int StatusCode_OK=200; 

    /// <summary>
    /// 客户端错误 
    /// </summary>
    public final static int StatusCode_ClientError = 403;

    /// <summary>
    /// 服务器未连接上 
    /// </summary>
    public final  static int StatusCode_ServerNotFound = 404;

    /// <summary>
    /// 服务器端错误
    /// </summary>
    public final static int StatusCode_ServerError = 501;

    /// <summary>
    /// 接口名称不存在
    /// </summary>
    public final static int StatusCode_ApiNameError = 501;

    /// <summary>
    /// 接口被禁用
    /// </summary>
    public final static int StatusCode_Disabled = 800;
    /// <summary>
    /// 处理不一定成功，返回提示客户端信息
    /// </summary>
    public final static int StatusCode_InfoExp = 801;

    public Message()
    {
    	statusCode = StatusCode_OK;
    }


    public int statusCode;

 
    public String msg;


     public String detail;
     
     
     private int resultCode=200;
     private String resultMsg;
     

	public int getStatusCode() {
		return statusCode;
	}


	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}


	public String getMsg() {
		return msg;
	}


	public void setMsg(String msg) {
		this.msg = msg;
	}


	public String getDetail() {
		return detail;
	}


	public void setDetail(String detail) {
		this.detail = detail;
	}


	public int getResultCode() {
		return resultCode;
	}


	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}


	public String getResultMsg() {
		return resultMsg;
	}


	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}
     
     
     


}